package com.t249.bdqn.renting.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.springframework.stereotype.Component;

import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import java.io.Serializable;

@Data
@Component
@TableName(value = "sys_booking")
public class SysBooking  implements Serializable {

    //id
    @TableId(value = "id", type = IdType.AUTO)
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @TableField("id")
    private Integer Id;

    //手机号码
    @TableField("phone")
    private String phone;

    //房源id
    @TableField("rental_id")
    private String rentalId;

    //订房时间
    @TableField("appointment_time")
    private String appointmentTime;

    //状态
    @TableField("rental_stateid")
    private String rentalStateid;

    //取消理由
    @TableField("quxiao_Yuanyin")
    private String quxiaoYuanyin;
}
